package com.authine.cloudpivot.web.api.dao;


import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.Attachment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Repository
public interface AttachmentMapper extends MyMapper<Attachment> {

    List<Attachment> getAttachment(@Param("bizObjectId")String bizObjectId, @Param("bizPropertyCode")String bizPropertyCode);

    List<Attachment> getAttachments(@Param("projectNo")String projectNo);

    Map<String,String> getStoreInfo(@Param("tableName")String tableName, @Param("bizObjectId")String bizObjectId, String settleable, String storeRotation, String storeNum, String startTime, String endTime, String member, String cityName);

    void inserAttachment(List<Attachment> attachment);
}
